package com.pxmeta.dynamic.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pxmeta.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author wcl
 * @since 2022-08-17
 */
@EqualsAndHashCode(callSuper = true)
@TableName("kt_mail")
@ApiModel(value = "Mail对象", description = "")
@Data
public class Mail extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    @ApiModelProperty("目标用户id")
    private Long targetUserId;

    @ApiModelProperty("圈子id")
    private Long circleId;

    @ApiModelProperty("目标id")
    private Long targetId;

    @ApiModelProperty("互动类型，1评论，2回复，3点赞，4关注")
    private Integer interactiveType;

    @ApiModelProperty("右侧卡片内容")
    private String cardContent;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("类型 1互动，2通知")
    private Integer type;

    @ApiModelProperty("内容")
    private String content;

    @ApiModelProperty("是否已读")
    private Integer isView;


}
